Closed mastery9909 closed 3 years ago
It show an error "A game object can only be in one layer. The layer needs to be in range[0 ... 31]". Pls help. the code is...
void AssignRemoteLayer() { gameObject.layer = LayerMask.NameToLayer (remoteLayerName); }
It show an error "A game object can only be in one layer. The layer needs to be in range[0 ... 31]". Pls help. the code is...
void AssignRemoteLayer() { gameObject.layer = LayerMask.NameToLayer (remoteLayerName); }