コード例 #1
0
 public static bool RegisterGraphicForCanvasHook(ref Canvas c, ref Graphic graphic)
 {
     if (graphic)
     {
         var go = graphic.gameObject;
         if (go == null)
         {
             return(true);
         }
         ImageTranslator.TranslateComponents(go);
     }
     return(true);
 }