add some extra assets FX and SFX
This commit is contained in:
@@ -452,14 +452,31 @@ public class spawnObject : MonoBehaviour
|
||||
}
|
||||
|
||||
public void enableRemovetEventState (string remoteEventName)
|
||||
{
|
||||
enableRemoteEventState (remoteEventName);
|
||||
}
|
||||
|
||||
public void disableRemovetEventState (string remoteEventName)
|
||||
{
|
||||
disableRemoteEventState (remoteEventName);
|
||||
}
|
||||
|
||||
public void enableOrDisableAllRemovetEventStates (bool state)
|
||||
{
|
||||
enableOrDisableAllRemoteEventStates (state);
|
||||
}
|
||||
|
||||
public void enableRemoteEventState (string remoteEventName)
|
||||
{
|
||||
enableOrDisableRemoteEventState (remoteEventName, true);
|
||||
}
|
||||
public void disableRemovetEventState (string remoteEventName)
|
||||
|
||||
public void disableRemoteEventState (string remoteEventName)
|
||||
{
|
||||
enableOrDisableRemoteEventState (remoteEventName, false);
|
||||
}
|
||||
public void enableOrDisableAllRemovetEventStates (bool state)
|
||||
|
||||
public void enableOrDisableAllRemoteEventStates (bool state)
|
||||
{
|
||||
for (int i = 0; i < removeEventNameList.Count; i++) {
|
||||
removeEventNameList [i].remoteEventEnabled = state;
|
||||
@@ -475,6 +492,16 @@ public class spawnObject : MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
public void setObjectToSpawn (GameObject newObject)
|
||||
{
|
||||
objectToSpawn = newObject;
|
||||
}
|
||||
|
||||
public void setSpawnPosition (Transform newTransform)
|
||||
{
|
||||
spawnPosition = newTransform;
|
||||
}
|
||||
|
||||
//EDITOR FUNCTIONS
|
||||
#if UNITY_EDITOR
|
||||
void OnDrawGizmos ()
|
||||
|
||||
Reference in New Issue
Block a user