EzySlice.SlicerExtensions.SliceInstantiate(UnityEngine.GameObject, UnityEngine.Vector3, UnityEngine.Vector3, TextureRegion, UnityEngine.Material)

Here are the examples of the csharp api EzySlice.SlicerExtensions.SliceInstantiate(UnityEngine.GameObject, UnityEngine.Vector3, UnityEngine.Vector3, TextureRegion, UnityEngine.Material) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 View Source File : SlicerExtensions.cs
License : MIT License
Project Creator : Tobbse

public static GameObject[] SliceInstantiate(this GameObject obj, Vector3 position, Vector3 direction, Material crossSectionMat) {
            return SliceInstantiate(obj, position, direction, new TextureRegion(0.0f, 0.0f, 1.0f, 1.0f), crossSectionMat);
        }