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>(); }
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>(); }
void Awake() { state = GetComponent<Sct_LavaState>(); sound = GetComponent<Sct_LavaSound>(); variable = GetComponent<Sct_LavaVariable>(); }