Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class SomeBehavior : MonoBehaviour
- {
- public GameObject SomeGameObject;
- public void SomeMethod()
- {
- if (SomeGameObject)
- {
- // ...
- }
- // ...
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement