public virtual void BeforeDraw() { if (RenderTexture != null) { RenderTexture.BeginWithClear(CCColor4B.Transparent); } }