12345678910111213141516171819 |
- using Unity.Mathematics;
- using UnityEngine;
- namespace Core.BRG
- {
- [System.Serializable]
- public class BGRGameObjectInfo
- {
- public int initIndex;
- public Vector3 pos;
- public Vector3 rot;
- public Vector3 scale;
- public float4 color=1;
- public Matrix4x4 objectToWorld
- {
- get { return Matrix4x4.TRS(pos, Quaternion.Euler(rot), scale); }
- }
- }
- }
|