public string GetStateMachineName() { if (IsInternal()) { if (_parentStateMachine != null) { return(_parentStateMachine._name); } else { return("StateMachine"); } } else { return(_file.GetAssetName()); } }