22 lines
395 B
C#
22 lines
395 B
C#
using Sirenix.OdinInspector;
|
|
using UnityEngine;
|
|
|
|
namespace Cielonos.MainGame
|
|
{
|
|
[HideInEditorMode]
|
|
public class SubmoduleBase<T>
|
|
{
|
|
[HideInInspector]
|
|
public T owner;
|
|
|
|
public SubmoduleBase(T owner)
|
|
{
|
|
this.owner = owner;
|
|
}
|
|
|
|
public void SetOwner(T newOwner)
|
|
{
|
|
this.owner = newOwner;
|
|
}
|
|
}
|
|
} |