CampfireParty.Building_Pyre.SpawnSetup C# (CSharp) Méthode

SpawnSetup() public méthode

public SpawnSetup ( ) : void
Résultat void
        public override void SpawnSetup()
        {
            base.SpawnSetup();

            for (int fireIndex = 0; fireIndex < fireMaxNumber; fireIndex++)
            {
                this.fireTexture[fireIndex] = null;
                this.fireTickCounter[fireIndex] = Rand.Range(5, 15);
                this.fireMatrix[fireIndex] = default(Matrix4x4);
            }
            this.fireMatrix[0].SetTRS(base.DrawPos + Altitudes.AltIncVect + new Vector3(-0.1f, 0.1f, -0.1f), 0f.ToQuat(), this.fireScale);
            this.fireMatrix[1].SetTRS(base.DrawPos + Altitudes.AltIncVect + new Vector3(-0.7f, 0.1f, -0.7f), 0f.ToQuat(), this.fireScale);
            this.fireMatrix[2].SetTRS(base.DrawPos + Altitudes.AltIncVect + new Vector3(0.8f, 0.1f, -0.8f), 0f.ToQuat(), this.fireScale);
            this.fireMatrix[3].SetTRS(base.DrawPos + Altitudes.AltIncVect + new Vector3(0.3f, 0.1f, 0.4f), 0f.ToQuat(), this.fireScale);
            this.fireMatrix[4].SetTRS(base.DrawPos + Altitudes.AltIncVect + new Vector3(0f, 0.1f, 1f), 0f.ToQuat(), this.fireScale);
        }