void Init(GameObject model, ActorType eType, ActorGroup actorGroup, uint actorID) { UID = m_NextValidGameObjectID; m_NextValidGameObjectID++; MyModel = model; ActorID = actorID; MyActorBaseAttribBehaviour.Init(eType, actorGroup, actorID); MyActorMove.Init(this); MyActorSkill.Init(actorID); MyActorMove.MoveTo(new Vector3(50, 50, 0)); }
public virtual void InitBehaviour(Property property) { MyActorBaseAttribBehaviour.SetProperty(property); }