コード例 #1
0
    private void Start()
    {
        yHeight          = transform.position.y;
        Cursor.lockState = CursorLockMode.Locked;

        EarthProperties.RegistreLevelUpAction(LevelUp);
    }
コード例 #2
0
 private void Start()
 {
     Instance = this;
     LoadSounds();
     EarthProperties.RegistreLevelUpAction(LevelUp);
 }
コード例 #3
0
 private void Awake()
 {
     Instance  = this;
     CoolDowns = new float[SpawnableObjects.Length];
 }
コード例 #4
0
 private void Start()
 {
     _earthProperties = EarthProperties.Instance;
 }
コード例 #5
0
 void Start()
 {
     earthProperties = EarthProperties.Instance;
     updatePlanetPowerIcons(-1);
     EarthProperties.RegistreLevelUpAction(updatePlanetPowerIcons);
 }
コード例 #6
0
 private void Start()
 {
     EarthProperties.RegistreLevelUpAction(LevelUp);
 }