void Init() { s_instance = this; m_rendertexture = Resources.Load("ysDistortionRenderTexture") as RenderTexture; ResetCamera(); }
public static ysEffectCamera GetInstance() { if (s_instance != null) { return(s_instance); } else { s_instance = new ysEffectCamera(); return(s_instance); } }