Example #1
0
 void Awake()
 {
     Instance = this;
 }
Example #2
0
	// Use this for initialization
	void Start ()
    {
        mgmgr = MiniGameMgr.Instance;

	}
Example #3
0
 // Use this for initialization
 void Start()
 {
     anim = GetComponent<Animator>();
       anim.SetTrigger("open");
       manager = FindObjectOfType<MiniGameMgr>();
 }