Advertisement
golergka

Untitled

Nov 18th, 2014
379
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.16 KB | None | 0 0
  1. class SomeBehavior : MonoBehaviour
  2. {
  3.     public GameObject SomeGameObject;
  4.  
  5.     public void SomeMethod()
  6.     {
  7.         if (SomeGameObject)
  8.         {
  9.             // ...
  10.         }
  11.         // ...
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement