// 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(); }
public void setIsJumpDefence() { UnitychanController unitychanMv = GetComponent <UnitychanController>(); unitychanMv.isJumpDefence = false; }