mirror of
https://github.com/BlackMATov/unity-iso-tools.git
synced 2025-12-15 01:12:05 +07:00
18 lines
443 B
C#
18 lines
443 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
|
|
namespace IsoTools.Internal {
|
|
public class IsoPhysicHelperHolder : MonoBehaviour {
|
|
protected GameObject fakeObject {
|
|
get { return physicHelper.isoFakeObject; }
|
|
}
|
|
|
|
protected IsoPhysicHelper physicHelper {
|
|
get { return IsoUtils.GetOrCreateComponent<IsoPhysicHelper>(gameObject); }
|
|
}
|
|
|
|
protected void DestroyUnnecessaryCheck() {
|
|
physicHelper.DestroyIfUnnecessary(this);
|
|
}
|
|
}
|
|
} |