This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using UnityEngine; | |
| /// <summary> | |
| /// GameObject型の拡張メソッドを管理するクラス | |
| /// </summary> | |
| public static partial class GameObjectExtensions | |
| { | |
| /// <summary> | |
| /// コンポーネントを取得します。コンポーネントが存在しなければ追加してから取得します |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using UnityEngine; | |
| /// <summary> | |
| /// Component型の拡張メソッドを管理するクラス | |
| /// </summary> | |
| public static partial class ComponentExtensions | |
| { | |
| /// <summary> | |
| /// コンポーネントを追加します |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using UnityEngine; | |
| /// <summary> | |
| /// Transform型の拡張メソッドを管理するクラス | |
| /// </summary> | |
| public static partial class TransformExtensions | |
| { | |
| /// <summary> | |
| /// 子となっているオブジェクトをゲームオブジェクトの名前から取得します |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| /// <summary> | |
| /// Resourcesクラスに関する汎用クラス | |
| /// </summary> | |
| public static partial class ResourcesCommon | |
| { | |
| /// <summary> | |
| /// リソースを読み込みます | |
| /// </summary> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections.Generic; | |
| using System.Linq; | |
| /// <summary> | |
| /// IEnumerable型の拡張メソッドを管理するクラス | |
| /// </summary> | |
| public static partial class IEnumerableExtensions | |
| { | |
| /// <summary> | |
| /// 指定されたシーケンスがnullまたは空であるかどうかを示します |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// <summary> | |
| /// string型の拡張メソッドを管理するクラス | |
| /// </summary> | |
| public static partial class StringExtensions | |
| { | |
| /// <summary> | |
| /// 文字列が空の場合はstring.Emptyを返します | |
| /// </summary> | |
| /// <param name="source">空かどうかを確認する文字列</param> | |
| /// <returns>sourceが空の場合はstring.Empty。それ以外の場合はsource</returns> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| /// <summary> | |
| /// GameObject型の汎用関数を管理するクラス | |
| /// </summary> | |
| public static partial class GameObjectCommon | |
| { | |
| /// <summary> | |
| /// ゲームオブジェクトを生成します | |
| /// </summary> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| /// <summary> | |
| /// Action型の拡張メソッドを監理するクラス | |
| /// </summary> | |
| public static partial class ActionExtensions | |
| { | |
| /// <summary> | |
| /// パラメーターを受け取らない Action デリゲートを実行します | |
| /// </summary> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| /// <summary> | |
| /// Func型の拡張メソッドを監理するクラス | |
| /// </summary> | |
| public static partial class FuncExtensions | |
| { | |
| /// <summary> | |
| /// パラメーターを受け取らずに戻り値を返す Func デリゲートを実行します | |
| /// </summary> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| /// <summary> | |
| /// IEnumerable 型の拡張メソッドを監理するクラス | |
| /// </summary> | |
| public static partial class IEnumerableExtensions | |
| { | |
| /// <summary> |