add some extra assets FX and SFX
This commit is contained in:
@@ -26,6 +26,12 @@ public class walkOnBalanceTriggerSystem : MonoBehaviour
|
||||
public bool jumpOnEndState;
|
||||
|
||||
[Space]
|
||||
[Header ("Debug")]
|
||||
[Space]
|
||||
|
||||
public bool showDebugPrint;
|
||||
|
||||
[Space]
|
||||
[Header ("Remote Events Settings")]
|
||||
[Space]
|
||||
|
||||
@@ -36,6 +42,7 @@ public class walkOnBalanceTriggerSystem : MonoBehaviour
|
||||
public bool useRemoteEventOnEnd;
|
||||
public List<string> remoteEventNameListOnEnd = new List<string> ();
|
||||
|
||||
|
||||
GameObject currentPlayer;
|
||||
|
||||
|
||||
@@ -95,7 +102,11 @@ public class walkOnBalanceTriggerSystem : MonoBehaviour
|
||||
}
|
||||
|
||||
checkRemoteEvents (true, currentPlayer);
|
||||
}
|
||||
|
||||
if (showDebugPrint) {
|
||||
print ("checking walk on balance on enter trigger ");
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
currentPlayer = col.gameObject;
|
||||
@@ -117,7 +128,11 @@ public class walkOnBalanceTriggerSystem : MonoBehaviour
|
||||
currentMovementSystem.setJumpOnEndState (true);
|
||||
|
||||
checkRemoteEvents (false, currentPlayer);
|
||||
}
|
||||
|
||||
if (showDebugPrint) {
|
||||
print ("checking walk on balance on exit trigger ");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user