protected new void Awake() { base.Awake(); avatarStateIdleLeft = GetComponent <AvatarStateIdleLeft>(); if (avatarStateIdleLeft == null) { Debug.LogWarningFormat("{0} does not have a AvatarStateIdleLeft Component!", name); } }
protected new void Awake() { base.Awake(); avatarStateIdleRight = GetComponent <AvatarStateIdleRight>(); if (avatarStateIdleRight == null) { Debug.LogWarningFormat("{0} does not have a AvatarStateIdleRight Component!", name); } avatarStateIdleLeft = GetComponent <AvatarStateIdleLeft>(); if (avatarStateIdleLeft == null) { Debug.LogWarningFormat("{0} does not have a AvatarStateIdleLeft Component!", name); } avatarStateIdleUp = GetComponent <AvatarStateIdleUp>(); if (avatarStateIdleUp == null) { Debug.LogWarningFormat("{0} does not have a AvatarStateIdleUp Component!", name); } avatarStateIdleDown = GetComponent <AvatarStateIdleDown>(); if (avatarStateIdleDown == null) { Debug.LogWarningFormat("{0} does not have a AvatarStateIdleDown Component!", name); } avatarStateIdleUpRight = GetComponent <AvatarStateIdleUpRight>(); if (avatarStateIdleUpRight == null) { Debug.LogWarningFormat("{0} does not have a AvatarStateIdleUpRight Component!", name); } avatarStateIdleUpLeft = GetComponent <AvatarStateIdleUpLeft>(); if (avatarStateIdleUpLeft == null) { Debug.LogWarningFormat("{0} does not have a AvatarStateIdleUpLeft Component!", name); } avatarStateIdleDownRight = GetComponent <AvatarStateIdleDownRight>(); if (avatarStateIdleDownRight == null) { Debug.LogWarningFormat("{0} does not have a AvatarStateIdleDownRight Component!", name); } avatarStateIdleDownLeft = GetComponent <AvatarStateIdleDownLeft>(); if (avatarStateIdleDownLeft == null) { Debug.LogWarningFormat("{0} does not have a AvatarStateIdleDownLeft Component!", name); } }