Esempio n. 1
0
 // Use this for initialization
 void Awake()
 {
     mover      = GetComponent <UnitychanMover>();
     animator   = GetComponent <UnitychanAnimator>();
     controller = GetComponent <UnitychanController>();
     audio      = GetComponent <UnitychanAudio>();
     light      = GetComponent <UnitychanLight>();
     sprite     = GetComponent <SpriteRenderer>();
     collider   = GetComponent <Collider2D>();
     Hide();
 }
Esempio n. 2
0
    public void setIsJumpDefence()
    {
        UnitychanController unitychanMv = GetComponent <UnitychanController>();

        unitychanMv.isJumpDefence = false;
    }