Exemplo n.º 1
0
 void MessageDecorator()
 {
     if (placeInstantly)
     {
         if (!decorator.TryCreateNearCenter(furniture))
         {
             Debug.LogWarning("Could not place " + furniture.name);
         }
     }
     else
     {
         decorator.CreatePlacingObject(furniture);
     }
     Decorator.instance.catalogueCanvas.SetActive(false);
     Decorator.instance.editModeCanvas.SetActive(true);
 }