public void LoadCow(EventInfo eventInfo) { CowsData myInfo = GameDataController.GetCowState(this); float [] pos = myInfo.Position; Vector3 loadPos; loadPos.x = pos[0]; loadPos.y = pos[1]; loadPos.z = pos[2]; transform.position = loadPos; int stateIndex = myInfo.StateIndex; TransitionTo(stateIndex); }