Files
Cielonos/Assets/Scripts/MainGame/Base/SubmoduleBase.cs

21 lines
372 B
C#
Raw Normal View History

2026-02-13 09:22:11 -05:00
using Sirenix.OdinInspector;
2025-11-25 08:19:33 -05:00
using UnityEngine;
namespace Cielonos.MainGame
{
public class SubmoduleBase<T>
{
2026-02-13 09:22:11 -05:00
[HideInInspector]
public T owner;
2025-11-25 08:19:33 -05:00
public SubmoduleBase(T owner)
{
this.owner = owner;
}
2026-02-13 09:22:11 -05:00
public void SetOwner(T newOwner)
{
this.owner = newOwner;
}
2025-11-25 08:19:33 -05:00
}
}