public void Setup(AbilityPreviewer previewer) { this.previewer = previewer; CacheUsedVariables(); positioner.Setup(previewer, this); scaler.Setup(previewer, this); }
public void Setup(AbilityPreviewer previewer, PreviewConfig previewConfig) { this.previewer = previewer; this.previewConfig = previewConfig; this.positioner = previewConfig.positioner; Initialize(); UpdateScale(true); }
public virtual void Setup(AbilityPreviewer previewer, PreviewConfig previewConfig) { this.previewer = previewer; this.previewConfig = previewConfig; PositionerTransform = new GameObject($"{GetType()}").transform; PositionerTransform.SetParent(previewer.transform); Target = new GameObject("Target").transform; Target.SetParent(PositionerTransform); }
public override void Setup(AbilityPreviewer previewer, PreviewConfig previewConfig) { base.Setup(previewer, previewConfig); PositionerTransform.rotation = Quaternion.identity; }