Example #1
0
    void Awake ()
    {
        TrapPrefab = Resources.Load(Sct_DEFCONST.FILE_PATH.GAME_PREFAB_FILE_PATH + Sct_DEFCONST.GAME_PREFAB_NAME.TRAP, typeof(GameObject)) as GameObject;

        sound = GetComponent<Sct_LavaSound>();

        variable = GetComponent<Sct_LavaVariable>();
    }
Example #2
0
 //private Sct_LavaSound sound;
 void Awake()
 {
     bodyControl = GetComponent<Sct_LavaBodyControl>();
     col = GetComponent<Sct_CollisionDetect>();
     mask = GetComponent<Sct_BubbleMask>();
     input = GetComponent<Sct_LavaInput>();
     variable = GetComponent<Sct_LavaVariable>();
     //sound = GetComponent<Sct_LavaSound>();
 }
Example #3
0
 void Awake()
 {
     state = GetComponent<Sct_LavaState>();
     col = GetComponent<Sct_CollisionDetect>();
     variable = GetComponent<Sct_LavaVariable>();
 }
Example #4
0
 void Awake()
 {
     state = GetComponent<Sct_LavaState>();
     sound = GetComponent<Sct_LavaSound>();
     variable = GetComponent<Sct_LavaVariable>();
 }