protected new void Awake() { base.Awake(); avatarStateRunRight = GetComponent <AvatarStateRunRight>(); if (avatarStateRunRight == null) { Debug.LogWarningFormat("{0} does not have a AvatarStateRunRight Component!", name); } avatarStateRunLeft = GetComponent <AvatarStateRunLeft>(); if (avatarStateRunLeft == null) { Debug.LogWarningFormat("{0} does not have a AvatarStateRunLeft Component!", name); } avatarStateRunUp = GetComponent <AvatarStateRunUp>(); if (avatarStateRunUp == null) { Debug.LogWarningFormat("{0} does not have a AvatarStateRunUp Component!", name); } avatarStateRunDown = GetComponent <AvatarStateRunDown>(); if (avatarStateRunDown == null) { Debug.LogWarningFormat("{0} does not have a AvatarStateRunDown Component!", name); } avatarStateRunDownRight = GetComponent <AvatarStateRunDownRight>(); if (avatarStateRunDownRight == null) { Debug.LogWarningFormat("{0} does not have a AvatarStateRunDownRight Component!", name); } avatarStateRunDownLeft = GetComponent <AvatarStateRunDownLeft>(); if (avatarStateRunDownLeft == null) { Debug.LogWarningFormat("{0} does not have a AvatarStateRunDownLeft Component!", name); } avatarStateRunUpRight = GetComponent <AvatarStateRunUpRight>(); if (avatarStateRunRight == null) { Debug.LogWarningFormat("{0} does not have a AvatarStateRunUpRight Component!", name); } avatarStateRunUpLeft = GetComponent <AvatarStateRunUpLeft>(); if (avatarStateRunUpLeft == null) { Debug.LogWarningFormat("{0} does not have a AvatarStateRunUpLeft Component!", name); } }
protected new void Awake() { base.Awake(); avatarStateRunUpLeft = GetComponent <AvatarStateRunUpLeft>(); if (avatarStateRunUpLeft == null) { Debug.LogWarningFormat("{0} does not have a AvatarStateRunUpLeft Component!", name); } avatarStateAttack_1UpLeft = GetComponent <AvatarStateAttack_1UpLeft>(); if (avatarStateAttack_1UpLeft == null) { Debug.LogWarningFormat("{0} does not have a AvatarStateAttack_1UpLeft Component!", name); } }