Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
 public virtual void InitBehaviour(Property property)
 {
     MyActorBaseAttribBehaviour.SetProperty(property);
 }