2021-04-13 20:39:32 +08:00
|
|
|
using System;
|
2021-04-20 00:25:04 +08:00
|
|
|
#if !NOT_CLIENT && !ROBOT
|
2021-04-13 20:39:32 +08:00
|
|
|
using Sirenix.OdinInspector;
|
|
|
|
using Sirenix.Serialization;
|
2021-04-08 20:09:59 +08:00
|
|
|
using UnityEngine;
|
2021-04-13 20:39:32 +08:00
|
|
|
#endif
|
2021-04-08 20:09:59 +08:00
|
|
|
|
|
|
|
namespace ET
|
|
|
|
{
|
2021-04-20 00:25:04 +08:00
|
|
|
#if !NOT_CLIENT && !ROBOT
|
2021-04-16 00:06:30 +08:00
|
|
|
public class ComponentView:
|
|
|
|
#if UNITY_EDITOR
|
|
|
|
SerializedMonoBehaviour
|
|
|
|
#else
|
|
|
|
MonoBehaviour
|
|
|
|
#endif
|
2021-04-08 20:09:59 +08:00
|
|
|
{
|
2021-04-13 20:39:32 +08:00
|
|
|
[NonSerialized][OdinSerialize]
|
|
|
|
public object Component;
|
2021-04-08 20:09:59 +08:00
|
|
|
}
|
|
|
|
#endif
|
|
|
|
}
|