public void GenerateMatrix () { #if !PhotonImplementation SetMatrix (Matrix4x4.TRS (offset,Quaternion.Euler (rotation),new Vector3 (scale,scale,scale))); #else SetMatrix (Matrix4x4.TRS (offset,rotation,new Vector3 (scale,scale,scale))); #endif }