Open mastery9909 opened 3 years ago
the Error says "A game object can only be in one layer. The layer needs to be in range [0....3]". The code is
void AssignRemoteLayer() { gameObject.layer = LayerMask.NameToLayer (remoteLayerName); }
the Error says "A game object can only be in one layer. The layer needs to be in range [0....3]". The code is
void AssignRemoteLayer() { gameObject.layer = LayerMask.NameToLayer (remoteLayerName); }