AState.OnEnter C# (CSharp) Method