Skip to main content
Further improve formatting.
Source Link
Anko
  • 13.5k
  • 10
  • 56
  • 82

1.use a singleton instance of the first script.write Method1 there.

2.call Method1 using singleton instance in a Method2 in the script attached to the animating GO.

3.use Method2 in animation event.

  1. Use a singleton instance of the first script. Write Method1 there.

  2. Call Method1 using singleton instance in a Method2 in the script attached to the animating GO.

  3. Use Method2 in animation event.

don'tDon't see any other way. atAt least this avoids dragging the script object reference.

1.use a singleton instance of the first script.write Method1 there.

2.call Method1 using singleton instance in a Method2 in the script attached to the animating GO.

3.use Method2 in animation event.

don't see any other way. at least this avoids dragging the script object reference.

  1. Use a singleton instance of the first script. Write Method1 there.

  2. Call Method1 using singleton instance in a Method2 in the script attached to the animating GO.

  3. Use Method2 in animation event.

Don't see any other way. At least this avoids dragging the script object reference.

1.use a singletonsingleton instance of the first script. write Method1write Method1 there. 2

2.call Method1Method1 using singleton instance in a Method2Method2 in the script attached to the animating GO. 3

3.use Method2 in animation event.

don't see any other way. atleastat least this avoids dragging the script object reference;reference.

1.use a singleton instance of the first script. write Method1 there. 2.call Method1 using singleton instance in a Method2 in the script attached to the animating GO. 3.use Method2 in animation event.

don't see any other way. atleast this avoids dragging the script object reference;

1.use a singleton instance of the first script.write Method1 there.

2.call Method1 using singleton instance in a Method2 in the script attached to the animating GO.

3.use Method2 in animation event.

don't see any other way. at least this avoids dragging the script object reference.

Source Link

1.use a singleton instance of the first script. write Method1 there. 2.call Method1 using singleton instance in a Method2 in the script attached to the animating GO. 3.use Method2 in animation event.

don't see any other way. atleast this avoids dragging the script object reference;