Search Issue Tracker

By Design

Votes

0

Found in [Package]

2.8.0

Issue ID

CMCL-395

Regression

No

CinemachineTargetGroup.m_Targets could be a List to make it easier to use instead of Array

Package: Cinemachine Classic

-

How to reproduce:
1. Open the "CinemachineIssues.zip" project
2. Open the "GameManager.cs" script
3. Observe the Start method

Expected result: m_Targets is List
Actual result: m_Targets in an Array

Reproducible with: 2.8.0 (2019.4.29f1, 2020.3.16f1, 2021.1.17f1, 2021.2.0b7, 2022.1.0a5)

Notes:
- The deletion process becomes really difficult for a considerably simply collection, so a List would be this a lot easier

  1. Response avatar

    Resolution Note:

    Logging a feature request. We can't change the API without a major version number change, so we'll consider this for Cinemachine 3.x.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.