| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- using PF;
- using UnityEngine;
- using Quaternion = UnityEngine.Quaternion;
- using Vector3 = UnityEngine.Vector3;
- namespace ET
- {
- public sealed class Unit: Entity
- {
- public int ConfigId;
- public UnitConfig Config
- {
- get
- {
- return UnitConfigCategory.Instance.Get(this.ConfigId);
- }
- }
-
- private Vector3 position;
-
- public Vector3 Position
- {
- get
- {
- return position;
- }
- set
- {
- this.position = value;
- }
- }
- private Quaternion rotation;
- public Quaternion Rotation
- {
- get
- {
- return rotation;
- }
- set
- {
- this.rotation = value;
- }
- }
- }
- }
|