コード例 #1
0
        private void Awake()
        {
            player           = FindComponent <Player.Player>("Snowman");
            watchButton      = FindComponent <Button>("WatchButton");
            calculateManager = GetOrCreateManager <CalculateManager>();
            effectManager    = GetOrCreateManager <EffectManager>();
            gameManager      = GetGameManager();

            cloudItemKeepParticle = FindComponent <ParticleSystem>("CloudItemKeepParticle");
            cloudItemKeepParticle.Stop();
        }
コード例 #2
0
        private void Awake()
        {
            calculateManager = GetOrCreateManager <CalculateManager>();
            itemManager      = GetOrCreateManager <ItemManager>();

            thickTurret  = FindComponent <ThickTurret>("ThickTurret");
            randomTurret = FindComponent <RandomTurret>("RandomTurret");

            angryTurret  = FindComponent <RotateTurret>("AngryTurret");
            grumpyTurret = FindComponent <RotateTurret>("GrumpyTurret");
            silverTurret = FindComponent <RotateTurret>("SilverTurret");
            yellowTurret = FindComponent <RotateTurret>("YellowTurret");
        }