WhiteSceneState.h 626 B

12345678910111213141516171819202122232425
  1. //
  2. // WhiteSceneState.h
  3. // WhiteSDK
  4. //
  5. // Created by yleaf on 2019/2/25.
  6. //
  7. #import "WhiteObject.h"
  8. #import "WhiteScene.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. /** 场景状态。 */
  11. @interface WhiteSceneState : WhiteObject
  12. /** 当前场景组下所有场景的列表。 */
  13. @property (nonatomic, nonnull, strong, readonly) NSArray<WhiteScene *> *scenes;
  14. /** 当前场景的路径(场景目录+当前场景名)。 */
  15. @property (nonatomic, nonnull, strong, readonly) NSString *scenePath;
  16. /** 当前场景在所属场景组中的索引号。 */
  17. @property (nonatomic, assign, readonly) NSInteger index;
  18. @end
  19. NS_ASSUME_NONNULL_END