Advertisement
Guest User

Untitled

a guest
Dec 2nd, 2015
586
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.24 KB | None | 0 0
  1. // Pseudo-code:
  2.  
  3. using library.whatever;
  4.  
  5. public class ExampleClass : MonoBehaviour {
  6.    
  7.     void Update () {
  8.         Component example = GameObject.Find ("ExampleGameObject").GetComponent<Component> ();
  9.         example.SomeFunction(someArg);
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement