Esempio n. 1
0
 public void PreLoadResource(ref List <ActorPreloadTab> list, LoaderHelper loadHelper)
 {
     SpawnerWrapper[] spawnerList = this.SpawnerList;
     for (int i = 0; i < spawnerList.Length; i++)
     {
         SpawnerWrapper spawnerWrapper = spawnerList[i];
         if (spawnerWrapper != null)
         {
             spawnerWrapper.PreLoadResource(ref list, loadHelper);
         }
     }
 }
Esempio n. 2
0
 private void Awake()
 {
     SpawnerWrapper[] spawnerList = this.SpawnerList;
     for (int i = 0; i < spawnerList.Length; i++)
     {
         SpawnerWrapper spawnerWrapper = spawnerList[i];
         if (spawnerWrapper != null)
         {
             spawnerWrapper.Init();
         }
     }
 }
Esempio n. 3
0
        protected virtual void DoSpawnSelf()
        {
            VInt3 zero    = VInt3.zero;
            VInt3 forward = VInt3.forward;

            this.CalcPosDir(out zero, out forward);
            SpawnerWrapper[] spawnerList = this.SpawnerList;
            for (int i = 0; i < spawnerList.Length; i++)
            {
                SpawnerWrapper spawnerWrapper = spawnerList[i];
                if (spawnerWrapper != null)
                {
                    this.m_spawnedList.Add(spawnerWrapper.DoSpawn(zero, forward, base.gameObject));
                }
            }
        }
Esempio n. 4
0
 public SpawnerTailsman(SpawnerWrapper inWrapper) : base(inWrapper)
 {
 }
Esempio n. 5
0
 public SpawnerBase(SpawnerWrapper inWrapper)
 {
 }
Esempio n. 6
0
 public SpawnerActor(SpawnerWrapper inWrapper) : base(inWrapper)
 {
 }