docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CinemachineFixtureBase

    Base class that handles creation and deletion of GameObjects.

    Inheritance
    object
    CinemachineFixtureBase
    BrainTargetOverrideTests
    CinemachineRuntimeFixtureBase
    UpgradeCm2ToCm3Tests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Cinemachine.Tests
    Assembly: solution.dll
    Syntax
    public class CinemachineFixtureBase

    Methods

    Name Description
    AddComponent(GameObject, Type)
    CreateGameObject(string, params Type[])

    Creates gameObject and keeps track of it, so it is cleaned up properly at [TearDown]. Uses appropriate method depending on whether the test is playing.

    CreatePrimitive(PrimitiveType)

    Creates the specified primitive and keeps track of it, so it is cleaned up properly at [TearDown]. Uses appropriate method depending on whether the test is playing.

    SetUp()
    TearDown()
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)