GameObjectUtils Class

Namespace
RedGirafeGames.Agamotto.Scripts.Runtime.Utils
Base Types
  • object
graph BT Type-->Base0["object"] Type["GameObjectUtils"] class Type type-node

Syntax

public static class GameObjectUtils

Methods

Name Value Summary
ApplyColorAndMaterial(GameObject, bool, Material, bool, Color) void
Apply material and color on a GameObject's renderers
static
ApplyColorOnRenderer(Renderer, Color) void
Apply Color to all materials of a Renderer
static
ApplyMaterialOnRenderer(Renderer, Material) void
Apply material to all materials of a Renderer
static
Hide(GameObject, GameObjectUtils.HidePolicy, bool) void
Hides a GameObject using given policy
static
Show(GameObject, GameObjectUtils.HidePolicy, bool) void
Shows a GameObject using given policy
static