add some extra assets FX and SFX
This commit is contained in:
@@ -22,6 +22,7 @@ public class simpleEventSystem : MonoBehaviour
|
||||
[Header ("Debug")]
|
||||
[Space]
|
||||
|
||||
public bool showDebugPrint;
|
||||
public bool eventCoroutineActive;
|
||||
|
||||
[Space]
|
||||
@@ -112,6 +113,10 @@ public class simpleEventSystem : MonoBehaviour
|
||||
} else {
|
||||
eventToCallOnDisable.Invoke ();
|
||||
}
|
||||
|
||||
if (showDebugPrint) {
|
||||
print ("setActivatedStateAndCallEvents " + activated);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -132,12 +137,20 @@ public class simpleEventSystem : MonoBehaviour
|
||||
} else {
|
||||
eventToCallOnDisable.Invoke ();
|
||||
}
|
||||
|
||||
if (showDebugPrint) {
|
||||
print ("callEventsForCurrentActivatedState");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void setEventEnabledState (bool state)
|
||||
{
|
||||
eventEnabled = state;
|
||||
|
||||
if (showDebugPrint) {
|
||||
print ("setEventEnabledState " + state);
|
||||
}
|
||||
}
|
||||
|
||||
public void setDelayToEventValue (float newValue)
|
||||
|
||||
Reference in New Issue
Block a user