Add project files.
This commit is contained in:
15
Assets/Cryville/Crtr/Anchor.cs
Normal file
15
Assets/Cryville/Crtr/Anchor.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cryville.Crtr {
|
||||
public class Anchor {
|
||||
bool _opened;
|
||||
public bool Opened { get { return _opened; } }
|
||||
public Transform Transform { get; set; }
|
||||
public void Open() {
|
||||
_opened = true;
|
||||
}
|
||||
public void Close() {
|
||||
_opened = false;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user