Added GameObject.Null and Enabling/Disabling of Scripts #236

Merged
Pycorax merged 2 commits from SP3-6-c-scripting into main 2022-11-21 20:21:48 +08:00
Pycorax commented 2022-11-21 17:16:50 +08:00 (Migrated from github.com)
  • Added GameObject.Null for explicitly and clearly setting GameObjects to null
  • Added support for enabling and disabling scripts via the Enabled property
  • Added OnEnable() and OnDisable()
    • Take note that these are not called on GameObject active changes, this will be added in a future release
- Added `GameObject.Null` for explicitly and clearly setting GameObjects to null - Added support for enabling and disabling scripts via the `Enabled` property - Added `OnEnable()` and `OnDisable()` - Take note that these are not called on GameObject active changes, this will be added in a future release
Sign in to join this conversation.
No description provided.