예제 #1
0
    // Use this for initialization
    public virtual void Start()
    {
        var SYSTEM = GameObject.Find("System");

        SystemScript      = SYSTEM.GetComponent <SystemBehaviour>();
        ObjectLoopsScript = SYSTEM.GetComponent <ObjectLoop>();
    }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     SystemScript = MainSystemS.GetComponent <SystemBehaviour>();
     ObjectLoopS  = MainSystemS.GetComponent <ObjectLoop>();
     HealthLost();
     AddKill();
 }
예제 #3
0
 public void Register(SystemBehaviour system)
 {
     systems.Add(system);
 }
예제 #4
0
 // Use this for initialization
 void Start()
 {
     SystemScript = this.GetComponent <SystemBehaviour>();
 }