Example #1
0
 void Update()
 {
     InputSystem.GetInstance().Update();
     PlayerMovementSystem.GetInstance().Update();
     SkillSystem.GetInstance().Update();
     EnemySpawnSystem.GetInstance().Update();
     EnemyMoveSystem.GetInstance().Update();
 }
Example #2
0
    void Awake()
    {
        InputSystem.GetInstance();
        PlayerMovementSystem.GetInstance();
        SkillSystem.GetInstance();
        EnemySpawnSystem.GetInstance();
        EnemyMoveSystem.GetInstance();

        singletonContainer = transform.GetChild(0).gameObject;
        singletonContainer.AddComponent <InputSingleton>();
    }