using UnityEngine; using System.Collections; namespace Dmyx.Fight { public class TAny { public T As() where T : TAny { return (T)this; } } }