Shadowing
Member
I'm doing this to add my abilities which I got from the Character creation script
I created a ability called Run and a ability called Sprint
If I create Run before Sprint in the same frame I can't access Sprint using
I can't simply create Sprint first because I'm accessing Run from inside Sprint lol
So I guess Awake override is being called as soon as its added instead of on the next frame?
Code:
m_Run = AbilityBuilder.AddAbility(m_UltimateCharacterLocomotion, typeof(Run)) as Run;
I created a ability called Run and a ability called Sprint
If I create Run before Sprint in the same frame I can't access Sprint using
Code:
public override void Awake(){
base.Awake();
m_sprint = m_CharacterLocomotion.GetAbility<Sprint>();
}
I can't simply create Sprint first because I'm accessing Run from inside Sprint lol
So I guess Awake override is being called as soon as its added instead of on the next frame?