예제 #1
0
 private void Awake()
 {
     prop        = GetComponent <Prop>();
     prop.EUsed += onPropUsed;
 }
예제 #2
0
 private void onPropUseStarted(Prop prop)
 {
     disableControls();
 }
 private void Awake()
 {
     prop = GetComponent <Prop>();
     prop.EActionEventReceived += onActionEventReceived;
 }