예제 #1
0
 void Awake()
 {
     myBodyControl = GetComponent<Sct_LavaBodyControl>();
     myState = GetComponent<Sct_LavaState>();
     input = GetComponent<Sct_LavaInput>();
     sound = GetComponent<Sct_LavaSound>();
     mask = GetComponent<Sct_BubbleMask>();
     itemControl = GetComponent<Sct_LavaItem>();
 }
예제 #2
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>();
    }
예제 #3
0
 void Awake()
 {
     state = GetComponent<Sct_LavaState>();
     sound = GetComponent<Sct_LavaSound>();
     variable = GetComponent<Sct_LavaVariable>();
 }