private void Awake() { powerSource = GetComponent <Powerable>(); AudioPlayerToOpen.SetActive(false); }
public PowerUpAction(PowerUp source, Powerable target, PowerUpEvent action) { this.source = source; this.target = target; this.action = action; }
public void sendReference (Powerable reference) { ConnectedObject = reference; }
public void sendReference(Powerable reference) { powerable = reference; //print(reference); }
public void sendReference(Powerable obj) { connectedObject = obj; }
public void sendReference(Powerable reference) { powerables.Add (reference); }
// Use this for initialization void Start() { powerable = GetComponent <Powerable>(); lightHalo = GetComponent <LightHalo>(); oldRadius = lightHalo.radius; }