0
OMG Tip #17: Player Gameobject
Player gameobject contains most of the logic provided by Somnium in your world. There is no easy way to get a reference for it.
- For the local players get the main camera and then get its root game object. That will be your player gameobject.
- For other players in the scene iterate over root gameobjects of the scene and look for objects named like this Player [PlayerName] [PlayerNumber] (e.g. "Player [MyName] [1234])
#omg #omgtips #worldbuilding #gamedev #playergameobject
Contract Address0xcbd4...3517
Token ID8465
Token StandardERC-721
ChainEthereum
Last Updated2 years ago
Creator Earnings
Authencity publication by (@omg)
Owned by
Artific
#
5,216visibility
1 view- PriceUSD PriceQuantityExpirationFrom
- PriceUSD PriceQuantityFloor DifferenceExpirationFrom
keyboard_arrow_down
Event
Price
From
To
Date
Authencity publication by (@omg)
Owned by
Artific
0
#
5,216visibility
1 view- PriceUSD PriceQuantityExpirationFrom
- PriceUSD PriceQuantityFloor DifferenceExpirationFrom
OMG Tip #17: Player Gameobject
Player gameobject contains most of the logic provided by Somnium in your world. There is no easy way to get a reference for it.
- For the local players get the main camera and then get its root game object. That will be your player gameobject.
- For other players in the scene iterate over root gameobjects of the scene and look for objects named like this Player [PlayerName] [PlayerNumber] (e.g. "Player [MyName] [1234])
#omg #omgtips #worldbuilding #gamedev #playergameobject
Contract Address0xcbd4...3517
Token ID8465
Token StandardERC-721
ChainEthereum
Last Updated2 years ago
Creator Earnings
keyboard_arrow_down
Event
Price
From
To
Date