private void Awake() { instance = this; }
// Start is called before the first frame update void Start() { states = GetComponent <StateManager>(); AISnapshot.GetInstance().RequestAISnapshot(this); }