コード例 #1
0
ファイル: ActorFactor.cs プロジェクト: loneyer/TowerDefend
    public T CreateBoint <T>(string _id, Vector3 _pos, enActorCamp _camp, enEnterStageWay _way) where T : BattleStageActor
    {
        var tactor = SimpleActorFactor.InstantiateBoint <T>();

        tactor.Init(_id);
        tactor.EnterStage(_way);
        tactor.SetPosition(_pos);
        tactor.actordata.actorCamp = _camp;
        return(tactor);
    }
コード例 #2
0
 public void EnterStage(enEnterStageWay way)
 {
     enterStageWay = way;
     EnterStageBegin();
 }